#ifndef __GAMEPLAY_LAYER_H__
#define __GAMEPLAY_LAYER_H__

#include "cocos2d.h"

class GamePlayLayer : public cocos2d::Layer
{
public:
	virtual bool init();
	CREATE_FUNC(GamePlayLayer);

	static void menuCloseCallback(Ref* pSender);

	float getEyeX();

	void update(float dt);

	bool onTouchBegan(cocos2d::Touch *pTouch, cocos2d::Event *event);
private:
	cocos2d::Sprite* spriteRunner;
};
#endif // __GAMEPLAY_LAYER_H__